<!DOCTYPE html>
<script>
if (window.testRunner) {
    testRunner.waitUntilDone();
    testRunner.dumpAsText();
}

function trigger() {
    var framedoc = target.document;

    framedoc.open();
    framedoc.write("<base href='ftp:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa:notaport♬'></base>");
    framedoc.write("<script src=':'><\/script>");
    framedoc.close();

    if (window.testRunner) {
        document.write("<p>PASS: if no crash on debug build</p>");
        testRunner.notifyDone();
    }
}  
</script>
<frameset rows="50%,*" onload="trigger();">
    <frame name='target'></frame>
</frameset>
